/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 * Origin source from MaNGOS(GPL2).
 * Copyright (C) 2005-2010 MaNGOS <http://getmangos.com/>
 */

#ifndef __LOGIN_DATABASE_H__
#define __LOGIN_DATABASE_H__

#include "DatabaseMySQL.h"

namespace PQServiceCore
{
	class LoginDatabase
	{
	public:
		static LoginDatabase& getSingleton()
		{
			static LoginDatabase inst;
			return inst;
		}

		 bool PExecute(const char *format,...);
		 bool Execute(const char *sql);

	};

}
#define SLoginDB PQServiceCore::LoginDatabase::getSingleton()
#endif
